package com.smartwebx.ha.util;

import com.fasterxml.jackson.databind.ObjectMapper;

public class JsonHelper {
	public static ObjectMapper objectMapperNone() {
		ObjectMapper mapper = new ObjectMapper();
		return mapper;
	}

	public static ObjectMapper objectMapperMixinOption(Class<?> target,
			Class<?> mixinSource) {
		ObjectMapper mapper = new ObjectMapper();
		mapper.addMixInAnnotations(target, mixinSource);
		return mapper;
	}
}